package com.yq.bdm.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yq.bdm.dao.SysParamsDictDao;
import com.yq.bdm.entity.SysParamsDictEntity;
import com.yq.bdm.service.SysParamsDictService;



@Service("sysParamsDictService")
public class SysParamsDictServiceImpl implements SysParamsDictService {
	@Autowired
	private SysParamsDictDao sysParamsDictDao;
	
	@Override
	public SysParamsDictEntity queryObject(Long id){
		return sysParamsDictDao.queryObject(id);
	}
	
	@Override
	public List<SysParamsDictEntity> queryList(Map<String, Object> map){
		return sysParamsDictDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return sysParamsDictDao.queryTotal(map);
	}
	
	@Override
	public void save(SysParamsDictEntity sysParamsDict){
		sysParamsDictDao.save(sysParamsDict);
	}
	
	@Override
	public void update(SysParamsDictEntity sysParamsDict){
		sysParamsDictDao.update(sysParamsDict);
	}
	
	@Override
	public void delete(Long id){
		sysParamsDictDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		sysParamsDictDao.deleteBatch(ids);
	}

	@Override
	public SysParamsDictEntity queryObjectByPrmName(Map<String, Object> map) {
		return sysParamsDictDao.queryObjectByPrmName(map);
	}
	
}
